package com.du.springmvc.bean;

/**
 * @author : DuJiabao
 * @Project : spring-mvc
 * @Time : 2021/4/2 16:28
 * @Desc :
 */
public class Employee {
  private Integer id;
  private String name;
  private Gender gender;

  public Employee() {
  }

  public Employee(int id, String name, Gender gender) {
    this.id = id;
    this.name = name;
    this.gender = gender;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Gender getGender() {
    return gender;
  }

  public void setGender(Gender gender) {
    this.gender = gender;
  }

  @Override
  public String toString() {
    return "Employee{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", gender=" + gender +
            '}';
  }
}
